package com.xyoto.takeawayBusiness.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * @ClassName: 更新店铺Dto
 * @Author: 挽风
 * @Date: 2022
 * @Copyright: 2022 by 挽风
 * @Description:
 **/

@ApiModel("更新店铺信息")
@Data
public class UpdateShopInfoDto {

    @ApiModelProperty(value = "用户商铺id", required = true)
    private Integer id;

    @ApiModelProperty("经营品类别id")
    private Integer categoryId;

    @ApiModelProperty("商铺名称")
    private String shopName;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("区域（1-一期，2-二期，3-三期，4-四期，5-校外）")
    private String area;

    @ApiModelProperty("联系人")
    private String name;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("头像")
    private MultipartFile path;

    @ApiModelProperty("开店时间")
    private String businessTimeStart;

    @ApiModelProperty("关店时间")
    private String businessTimeEnd;
}
